package com.cyl.manager.pms.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.sincere.common.annotation.Excel;

@Data
@ApiModel(value = "商品分类响应对象")
public class ProductCategoryResp {
    @ApiModelProperty("分类ID")
    @Excel(name = "分类ID")
    private Long id;
    
    @ApiModelProperty("上级分类的编号")
    @Excel(name = "上级分类的编号")
    private Long parentId;
    
    @ApiModelProperty("名称")
    @Excel(name = "名称")
    private String name;
    
    @ApiModelProperty("分类级别")
    @Excel(name = "分类级别", readConverterExp = "0=一级,1=二级")
    private Integer level;
    
    @ApiModelProperty("显示状态")
    @Excel(name = "显示状态", readConverterExp = "0=不显示,1=显示")
    private Integer showStatus;
    
    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Integer sort;
    
    @ApiModelProperty("图标")
    @Excel(name = "图标")
    private String icon;
    
    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String createTime;
    
    @ApiModelProperty("更新时间")
    @Excel(name = "更新时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;
    
    @ApiModelProperty("创建者")
    private Long createBy;
    
    @ApiModelProperty("更新者")
    private Long updateBy;
    
    @ApiModelProperty("是否删除")
    private Boolean deleted;
} 